package c.c.k.service;

import c.c.k.emums.JYSEnum;
import c.c.k.pojo.Stock;

import java.util.Date;
import java.util.List;

/**
 * Created by chenck on 2022/3/19.
 */
public interface StockService {
    List<Stock> listStock(List<Long> ids);
    List<Stock> listStock(JYSEnum jysEnum);
    List<Stock> listStockByPercent(Integer minShizhi, Integer maxShiZhi, String jys);
    void addStock(Stock stock);
    void initStock();
    void fetchEveryday();
    void updateStock(Long stockId, Double max, Double min);
    void updateStock(Long stockId, Double nowPrice, Date nowDate, Double shiZhi);
    void initMaxMin();
}
